package RenderTimeTest;
use strict;
use warnings;

use base qw(Test::Class);
use Test::More;
use Data::Dumper;


use lib '/home/'.$ENV{USER}.'/djpp/core/utils';
use RenderTime; 

sub testCheckSpend : Test
{
	
	my $render = new RenderTime();
	
	$render->start;
	sleep 1;
	$render->stop;
	
	ok($render->spend > 1, "It spent more than 1 second");
}

1;